/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author huwenqing
 * @date 2016年9月20日
 *
 */
package com.eyaomall.wxmall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eyaomall.wxmall.dao.AdvertPlaceDao;
import com.eyaomall.wxmall.model.po.AdvertPlace;
import com.eyaomall.wxmall.service.AdvertPlaceService;

@Service
public class AdvertPlaceServiceImpl implements AdvertPlaceService {

	@Autowired
	private AdvertPlaceDao advertPlaceDao;

	public void insert(AdvertPlace advertPlace) {
		advertPlaceDao.insert(advertPlace);
	}

	@Override
	public List<AdvertPlace> listPage() {
		return advertPlaceDao.list(null);
	}

}
